<?php
require_once("mysql.php");

$task_id = $_GET['task_id'];
$finished = $_GET['finished'];

$query = "update todo_entry set finished=$finished where id=$task_id";
mysql_query($query) or die(mysql_error());
?>
